import java.util.Random;

/**
 * If there are no bugs, it was created by Chen FengYao on 2018/4/3;
 * Otherwise, I don't know who created it either
 */

public class Main {

    public static void main(String[] args) {
        // 创建一个 学生 对象 赋值给 a
        Student a = new Student();

        // 对 a 这个对象的 年龄 和 姓名 进行赋值
        // 点. 就把它理解为 "的"
        // 只能是 对象.
        a.age = 18;
        a.name = "张三"; // "" 这东西 就是 String
        // 不是基本数据类型,但是比较常用
        // 所以 特殊记忆

        Student b = new Student();
        b.age = 19;
        b.name = "王五";

        Student c = a;
        c.name = "赵六";

        System.out.println(c.name);
        System.out.println(a.name);

//        System.out.println(a.name);
//        System.out.println(b.name);
//
//        a.name = "赵六";
//        System.out.println(a.name);
//        System.out.println(b.name);


        int num1 = 3;
        int num2 = num1;
        num2 = 5;

        System.out.println(num1);
        System.out.println(num2);

    }
}
